package com.erlinyou.im.service.groupmove.impl;

import java.util.List;
import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.erlinyou.base.service.BaseServiceImpl;
import com.erlinyou.im.dao.repository.groupmove.OfhistoryRepository;
import com.erlinyou.im.model.groupmove.Ofhistorymessage;
import com.erlinyou.im.service.groupmove.OfhistorymessageService;
@Service
public class OfhistorymessageServiceImpl extends BaseServiceImpl<Ofhistorymessage, Long> implements OfhistorymessageService {

	@Resource
	private OfhistoryRepository repository;

	@Override
	public List<Map<String, Object>> selectAll(int startPage, int rows) {
		return repository.selectAll(startPage, rows);
	}

	@Override
	public List<Map<String, Object>> selectAllByEric() {
		return repository.selectAllByEric();
	}
	
	
}
